#ifndef PIXLABEL_H
#define PIXLABEL_H

#include <QObject>
#include <QWidget>
#include <QLabel>
#include <QPaintEvent>
#include <QPainter>
#include <QPainterPath>
#include <QPixmap>
#include <QHBoxLayout>
#include <QString>
#include <QDebug>
#include <QFont>

class PixLabel : public QWidget
{
    Q_OBJECT
public:
    explicit PixLabel(int size=12, bool isBold=false, QWidget *parent=nullptr);
    void changeLabel(QPixmap pix, QString str);
private:
    QPixmap pix;
    QLabel *labelPix;
    QLabel *labelText;
    QString str;
};

#endif // PIXLABEL_H
